#ifndef BATCHCHECKINREQUESTMODEL_H
#define BATCHCHECKINREQUESTMODEL_H

#include "JsonSerializable.h"

#include <QMap>

namespace MesModel
{
class BatchCheckInRequestPcuInfo;

class BatchCheckInRequestModel: public JsonSerializable
{

public:
    BatchCheckInRequestModel();
    void fromJson(const QJsonObject &json)override;
    QJsonObject toJson() const override;

public:
    QString factoryNo;
    QString transId;
    QDateTime eventTime;
    QString eventUser;
    QString machineNo;
    QString batch;
    QList<BatchCheckInRequestPcuInfo>pcuInfo;
};


class BatchCheckInRequestPcuInfo: public JsonSerializable
{
public:
    void fromJson(const QJsonObject &json);
    QJsonObject toJson() const;

public:
    QString locationNo;
    QString pcu;
};

}
#endif // BATCHCHECKINREQUESTMODEL_H
